package com.lt.flashcard.webservice.utils;

/**
 * This class contains constants value used in Restful Services
 * 
 * @author ChauDinh
 * 
 */
public class RestfulConstants {
    public static final String[] FC_LIST_PROPERTIES = new String[] { "id", "term", "definition", "notes", "image", "status", "alreadyLearnt" };
    public static final String[] FC_DETAIL_PROPERTIES = new String[] { "id", "term", "definition", "notes", "image", "status", "created",
            "learnStatus", "learnLevel", "hasLearnt", "testStatus", "phonetic", "wordtype", "vietnamese", "symnonym", "nounthing",
            "nounperson", "verb", "adjective", "adverb", "category", "english", "soundFront", "soundBack" };

    public static final String[] FCS_LIST_PROPERTIES = new String[] { "id", "name", "description", "image", "totalflashcards", "viewCount" };
    public static final String[] FCS_DETAIL_PROPERTIES = new String[] { "id", "name", "description", "image", "totalflashcards", "status",
            "created", "language", "viewCount", "voteResult", "voteTotal", "relateflashcardsetCache", "originalflashcardsetCache",
            "learnLearned", "learnUnknow", "priceEflashcard", "pricePaper", "haspaper", "readysale" };
    public static final String[] FCS_VIEW_TYPE = new String[] { "topRate", "topView", "recent", "name" };

    public static final String[] USER_DETAIL_PROPERTIES = new String[] { "id", "username", "email", "maxblankflashcard",
            "currentblankflashcard", "name", "birthday", "workplace", "language", "facebook", "avatar", "gender", "rank" };
    public static final String COMMA_JOIN = ",";

    public static final String DEFAULT_NOTE = "Please add note here";
    public static final String MSG_UNABLE_SAVE_CARD = "Error: Unable to create card. Please contact author for help";
    public static final String MSG_UNABLE_SAVE_SET = "Error: Unable to create set. Please contact author for help";
}
